package cn.iocoder.yudao.module.ent.document.node;

import cn.iocoder.yudao.module.ent.document.BaseNode;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * 终本案件 节点
 */

@Document(indexName = "node_final_case")
@Data
public class NodeFinalCase extends BaseNode {

    //公司数据加密id
    @Field(name = "cid", type = FieldType.Keyword)
    private String cid;

    @Field(name = "create_time", type = FieldType.Text)
    private String createTime;

    @Field(name = "code", type = FieldType.Long)
    private Long code;

    //执行标的
    @Field(name = "amount", type = FieldType.Text)
    private String amount;

    //案号
    @Field(name = "caseNoTerminal", type = FieldType.Text)
    private String caseNoTerminal;

    //受理法院
    @Field(name = "court", type = FieldType.Text)
    private String court;

    //被执行人id数据加密id
    @Field(name = "data_cid", type = FieldType.Text)
    private String dataCid;

    //立案日期
    @Field(name = "filingDate", type = FieldType.Text)
    private String filingDate;

    //被执行人
    @Field(name = "name", type = FieldType.Text)
    private String name;

    //终本日期
    @Field(name = "terminateDate", type = FieldType.Text)
    private String terminateDate;

}
